<?php
/**
 * @TABLE "homepage"
 */
class BaseHomepage extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "position"
	 * @TYPE "enum"
	 * @LENGTH "'pet_of_the_week','hp_slider'"
	 * @NOT_NULL
	 */
	public $position;

	/**
	 * @COLUMN "external_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 */
	public $external_id;

	/**
	 * @COLUMN "filename"
	 * @TYPE "varchar"
	 * @LENGTH "255"
	 */
	public $filename;

	/**
	 * @COLUMN "link_1"
	 * @TYPE "varchar"
	 * @LENGTH "1024"
	 */
	public $link_1;

	/**
	 * @COLUMN "link_2"
	 * @TYPE "varchar"
	 * @LENGTH "1024"
	 */
	public $link_2;

	/**
	 * @COLUMN "link_3"
	 * @TYPE "varchar"
	 * @LENGTH "1024"
	 */
	public $link_3;

	/**
	 * @COLUMN "link_4"
	 * @TYPE "varchar"
	 * @LENGTH "1024"
	 */
	public $link_4;

	/**
	 * @COLUMN "user_ip"
	 * @TYPE "varchar"
	 * @LENGTH "45"
	 * @NOT_NULL
	 */
	public $user_ip;

	/**
	 * @COLUMN "status"
	 * @TYPE "enum"
	 * @LENGTH "'visible','deleted'"
	 * @NOT_NULL
	 * @DEFAULT "visible"
	 */
	public $status;

	/**
	 * @COLUMN "date_start"
	 * @TYPE "timestamp"
	 */
	public $date_start;

	/**
	 * @COLUMN "date_added"
	 * @TYPE "timestamp"
	 * @NOT_NULL
	 * @DEFAULT "CURRENT_TIMESTAMP"
	 */
	public $date_added;
}
?>